/* 程控编辑样式开始 */
.control-edit {
  background-color: #f5f5f5;
  padding-top: 88px;
  min-height: calc(100vh - 88px);
  .action {
    font-size: 15px;
    color: var(--primary-color);
  }
  .date {
    background-color: #fff;
    border-radius: 10px;
    margin: 10px;
    .date-header {
      display: flex;

      & > div {
        flex: 1;
        color: var(--primary-text-color);
        font-weight: bold;
        font-size: 15px;
        text-align: center;
        margin: 15px 0 25px;
      }
    }
    .date-body {
      display: flex;
      padding-bottom: 25px;
      position: relative;

      .start,
      .end {
        width: 42%;
      }
      .center {
        width: 16%;
      }
      .start,
      .end,
      .center {
        :deep(.van-picker-column__item--selected) {
          position: relative;
          font-size: 20px;
          color: var(--primary-color);
        }

        .hour {
          position: absolute;
          top: calc(50% - 18px);
          left: 18%;
          color: var(--primary-color);
          font-size: 12px;
        }
        .min {
          position: absolute;
          top: calc(50% - 18px);
          left: 43%;
          color: var(--primary-color);
          font-size: 12px;
        }
      }

      .end {
        .hour {
          left: 66%;
        }
        .min {
          left: 92%;
        }
      }
      .center {
        :deep(.van-ellipsis) {
          opacity: 0;
        }
        .hour {
          left: 50%;
          color: var(--primary-text-color);
          font-size: 20px;
          font-weight: bold;
          top: 40%;
        }
      }
    }
  }
  .week {
    display: flex;
    align-items: center;
    height: 50px;
    border-radius: 10px;
    background-color: #fff;
    margin: 10px;
    padding: 0 15px;
    box-sizing: border-box;

    .title {
      font-size: 15px;
      color: var(--primary-text-color);
    }
    .description {
      font-size: 12px;
      color: #999;
      flex: 1;
      margin: 0 10px;
      text-align: right;
    }
  }
  .control {
    & > .title {
      font-size: 11px;
      color: #999;
      margin: 15px 10px 6px;
    }
    .content {
      margin: 10px;
      padding: 0 15px;
      box-sizing: border-box;
      border-radius: 10px;
      background-color: #fff;
      .title {
        font-size: 15px;
        color: var(--primary-text-color);
      }
      .item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 50px;
        .right {
          display: flex;
          justify-content: center;
          align-items: center;
          .value {
            font-size: 12px;
            color: #999;
            margin-right: 10px;
          }
        }
      }
    }
  }
}
/* 程控编辑样式结束 */

/* week弹框样式开始 */
.week-piker {
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  z-index: 999999999;
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    .cancel {
      color: var(--primary-text-color);
      font-size: 13px;
      padding: 20px;
    }
    .title {
      font-size: 15px;
      color: var(--primary-text-color);
    }
    .ok {
      font-size: 13px;
      color: var(--primary-color);
      padding: 20px;
    }
  }
  .body {
    padding: 0 20px 20px;

    .item {
      height: 50px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  }
}
/* week弹框样式结束 */
